
<include file="public:header"/>

<script>

$(function(){
function getusermall_order(id)
{
			$.ajax({
			type:"POST",
			url:url+"/getusermall_order", 
			data:{id:id},
			dataType:"json",
			error:function (XMLHttpRequest, textStatus, errorThrown) {alert('请求错误...'+errorThrown);},
			success:function(data){ 
				$("#maingrid1").ligerGrid({
                columns: [
				{ display: '商城名称', name: 'mallname', minWidth: 100 },
				{ display: '收益比例', name: 'sybl', minWidth: 50},
                { display: '购物金额', name: 'sales', minWidth: 100 },
			    { display: '总收益', name: 'commission', minWidth: 100 },
                { display: '购物收益', name: 'gusy', width: 100, align: 'left' },
				{ display: '业务收益', name: 'ywsy', width: 100, align: 'left' },
				{ display: '分红收益', name: 'fhsy', width: 100, align: 'left' },
				{ display: '商城标志', name: 'mallimg', minWidth: 140 },
			   { display: '去购物赚收益', name: 'mallurl', minWidth: 140 },
			   { display: '提现金', name: 'tixianjin', minWidth: 100 }
                ], data:eval('(' + data.data + ')') , pageSize: 10, sortName: 'riqi',width:'100%',
               rowHeight:60,height: 680, checkbox: false
            });	  
			        }
		              });
				    }
					getusermall_order('qbsj');
					});
</script>
<div class="main_body">

<div id="baobiao" >
<div id="maingrid1"></div>
</div>

 <include file="public:footer"/>